Curently it is possible to copy the content of password entries,
and paste it elsewhere in clear text. This is undesirable, so
follow GTK+'s behavior and disable the copy action for password
entries.
https://bugzilla.gnome.org/show_bug.cgi?id=695104
_updateCopyItem: function() {
let selection = this._entry.clutter_text.get_selection();
- this._copyItem.setSensitive(selection && selection != '');
+ this._copyItem.setSensitive(!this._entry.clutter_text.password_char &&
+ selection && selection != '');
},
_updatePasteItem: function() {